/*
 * macros.h
 *
 *  Created on: Apr 21, 2013
 *      Author: b
 */

#ifndef MACROS_H_
#define MACROS_H_


#define DEBUG_MODE 0

// General macros
#define RES_OK 20
#define UNKNOWING_ERROR 21

// Macros defined for graphs
#define MAX_SOMMET_INVALIDE 3
#define PROBLEME_MEMOIRE 18
#define GRAPHE_INEXISTANT 7
#define GRAPHE_DEJA_EXISTANT 10

#define SOMMET_INVALIDE 1
#define SOMMET_INEXISTANT 8
#define SOMMET_DEJA_EXISTANT 11

#define ARETE_INEXISANTE 9
#define TYPE_ARETE_INVALID 30

#define POIDS_INVALIDE 2
#define GRAPHE_NOT_COMPLET 311

#define IS_ADJACENT 60
#define IS_NOT_ADJACENT 61


// Macros defined for arrays
#define MATRIX_NULL 400
#define MATRIX_NOT_NULL 401

#define ARRAY_LENGTH_NULL 402
#define ARRAY_NULL 403
#define ARRAY_NOT_NULL 404


// Macros defined for stacks
#define STACK_NULL 501
#define STACK_NON_NULL 502
#define STACK_UNDERFLOW 503
#define STACK_OVERFLOW 504

#endif /* MACROS_H_ */
